import {service} from "./utils/request.js";

const getTest = (data)=>{
    return service({
        url: "http://localhost:8080/signal/test",
        method: 'get',
        data: data
    })
}

// 构建请求发送测试数据
const formData = new FormData()
formData.append('a', "3")
formData.append('b', "4")
formData.append('c', "5")
getTest(formData).then(res => {

    console.log(res.data)
}).catch((err)=>{
    console.error(err)
})